Repository navigation
fix(find): mark a no-match find as not dispatched, and name the viewport a gesture left - #5018
Conversation
…ure leaves the viewport
… how to look an element up
|
Thanks for the change. The code at c6f1ba8 is ready: a no-match find now reports as not dispatched, and the out-of-bounds gesture message names the viewport. The live evidence covers an Android emulator, and Not verified here: the Apple units claim (points, not screenshot pixels) and a run on an iOS device. Not blocking, and fine to take or leave: no test asserts the new out-of-bounds message or the find no-match hints; the docs line says the message names the first point outside the viewport, but the transform minimum-span refusal names the viewport only, and the Retry list of |
Summary
A
findthat matched nothing was disclosed as "May have reached the device", because a barefindis a click. It's nowdispatched: no, and the click case points tofind text "..." existsfor lookups.A gesture that leaves the viewport now names the viewport size and the first point outside it. When a coordinate caused the refusal, the hint says to use snapshot units, which are points on Apple platforms, not screenshot pixels.
commands.mdsays so too.Before / after
Pixel 9 AVD (Android 16), in Settings:
Validation
c6f1ba8bc,check:affected --run --head,exactCommit: true. Every gate passes exceptunit:upload-http-deadlineandcommitted-source-treefail the same way on clean main on this macOS host, and two 5 s load timeouts pass when run alone.command-docs,doc-linksanddoc-prosepass.unknowninstead ofno).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.